package com.sayi.dzapi.controller.captcha;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/captcha")
@Controller
public class IndexController {

    @CrossOrigin(origins = "https://libs.baidu.com")
    @GetMapping("/index")
    public String index() {
        return "captcha/index";
    }
}
